/*
 * @Description: 
 * @Date: 2022-02-18 11:26:07
 * @Author: caikaixuan
 * @LastEditTime: 2022-02-18 11:28:15
 */
const APIError = require('../rest').APIError;

// 用户相关错误信息
let user_not_found_error = new APIError('1001','该用户不存在')
let user_name_empty_error = new APIError('1002','用户名为空')
let user_wx_openid_empty_error = new APIError('1003','微信OpenId为空')
let user_create_error = new APIError('1004','创建用户失败')
let user_remove_error = new APIError('1005','删除用户失败')
let user_list_error = new APIError('1006','查询用户列表失败')

module.exports = {
// 用户错误导出
    USER_NOT_FOUND: user_not_found_error,
    USER_NAME_EMPTY: user_name_empty_error,
    USER_WX_OPENID_EMPTY: user_wx_openid_empty_error,
    USER_CREATE_ERROR: user_create_error,
    USER_REMOVE_ERROR: user_remove_error,
    USER_LIST_ERROR: user_list_error,

 
}

